Conversation
Replace the static build + serve approach with dspublisher's dev server for live content. Use Docker build secrets instead of ARG for the Vaadin pro key to avoid leaking it in image layers. Split Maven build so compile/prepare-frontend is cached separately from the license-gated build-frontend step. Increase VM memory to 1024mb for the dev server.
The secret is in username/pro-key format. Parse it into separate username and proKey fields for the license checker JSON file.
Preview DeploymentThis PR has been deployed for preview. URL: https://docs-preview-pr-5353.fly.dev Built from 4aef082 |
|
seems like there is some problem with this as you get a "The service is no longer running" popup even though it renders the docs |
We could consider optimizing the build time of the current preview by filtering the resources instead. For example, if the PR only changes a file under Similarly, if the changed document only includes live demos for a specific component, all others under Locally, building with the frontend components dir and all but one article removed, the build time drops by 85% |
Replace the static build + serve approach with dspublisher's dev server for live content. Use Docker build secrets instead of ARG for the Vaadin pro key to avoid leaking it in image layers. Split Maven build so compile/prepare-frontend is cached separately from the license-gated build-frontend step. Increase VM memory to 1024mb for the dev server.